home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_BlackAndWhite_Factory < prev    next >
Encoding:
Text File  |  2003-04-22  |  973 b   |  34 lines

  1.  
  2. from JascApp import *
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': 'Jasc Software Inc.',
  7.         'Copyright': 'Copyright ⌐ 2003 Jasc Software Inc., all rights reserved.',
  8.         'Description': 'Factory default preset for BlackAndWhite effect',
  9.         'Host': 'Paint Shop Pro 8',
  10.         'Host Version': '8.00',
  11.         }
  12.  
  13. def Preset_BlackAndWhite():
  14.     return {
  15.         'BlackPoint': (0, 0, 0),
  16.         'BlackDest': (0, 0, 0),
  17.         'GreyPoint': (127, 127, 127),
  18.         'WhitePoint': (255, 255, 255),
  19.         'UseGreyPoint': 0,
  20.         'UseWhitePoint': 0,
  21.         'GreyDest': (127, 127, 127),
  22.         'WhiteDest': (255, 255, 255),
  23.         'GeneralSettings': {
  24.             'AutoActionMode': 0,
  25.             'ExecutionMode': 0
  26.             },
  27.         'UseBlackPoint': 0,
  28.         'PreserveLightness': 0,
  29.         'BalanceGrey': 0
  30.         }
  31.  
  32. def Do(Environment):
  33.     App.Do( Environment, 'BlackAndWhite', Preset_BlackAndWhite())
  34.